body {
  font: {
    family: $base-font;
    size: $base-font-size;
    weight: 400;
  }
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  color: $primary-color;
  text-decoration: none;
  transition: all 0.3s;
  word-break: break-word;
  &:hover {
    color: $primary-color-dark;
    text-decoration: none;
  }
}

button,
a,
.btn {
  outline: 0;
  transition: all 0.3s;
  &:focus {
    box-shadow: none !important;
    outline: none;
    text-decoration: none;
  }
}

img {
  max-width: 100%;
  height: auto;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font: {
    weight: bold;
    family: $base-font;
  }
  //color: $dark;
  transition: all 0.3s;
  a {
    color: $dark;
    &:hover {
      color: $primary-color;
      text-decoration: none;
    }
  }

  // Fix anchor scroll that hide header under top navbar bug
  @include media-breakpoint-up(sm) {
    $top-navbar-height: 64px;

    padding-top: $top-navbar-height;
    margin-top: -$top-navbar-height;
  }
}

h1,
.h1 {
  font-size: 32px;
}

h2,
.h2 {
  font-size: 28px;
}

h3,
.h3 {
  font-size: 24px;
}

h4,
.h4 {
  font-size: 20px;
}

h5,
.h5 {
  font-size: 18px;
}

h6,
.h6 {
  font-size: 16px;
}

.section-gap {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 991px) {
  h1,
  .h1 {
    font-size: 32px;
  }

  h2,
  .h2 {
    font-size: 28px;
  }

  h3,
  .h3 {
    font-size: 24px;
  }

  h4,
  .h4 {
    font-size: 20px;
  }

  h5,
  .h5 {
    font-size: 18px;
  }

  h6,
  .h6 {
    font-size: 16px;
  }

  .app-header + .section-gap {
    padding-top: 5rem;
  }
}

@media (max-width: 767px) {
  h1,
  .h1 {
    font-size: 28px;
  }

  h2,
  .h2 {
    font-size: 26px;
  }

  h3,
  .h3 {
    font-size: 24px;
  }

  h4,
  .h4 {
    font-size: 20px;
  }

  h5,
  .h5 {
    font-size: 18px;
  }

  h6,
  .h6 {
    font-size: 16px;
  }
}

@media (max-width: 667px) {
  h1,
  .h1 {
    font-size: 26px;
  }

  h2,
  .h2 {
    font-size: 24px;
  }

  h3,
  .h3 {
    font-size: 22px;
  }

  h4,
  .h4 {
    font-size: 20px;
  }

  h5,
  .h5 {
    font-size: 18px;
  }

  h6,
  .h6 {
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .section-gap {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}
